/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.service.vote;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.sys.entity.vote.VoteCandidate;
import com.thinkgem.jeesite.modules.sys.dao.vote.VoteCandidateDao;

/**
 * 投票管理Service
 * @author 郑学兵
 * @version 2017-05-22
 */
@Service
@Transactional(readOnly = true)
public class VoteCandidateService extends CrudService<VoteCandidateDao, VoteCandidate> {

	public VoteCandidate get(String id) {
		return super.get(id);
	}
	
	public List<VoteCandidate> findList(VoteCandidate voteCandidate) {
		return super.findList(voteCandidate);
	}
	
	public Page<VoteCandidate> findPage(Page<VoteCandidate> page, VoteCandidate voteCandidate) {
		return super.findPage(page, voteCandidate);
	}
	
	@Transactional(readOnly = false)
	public void save(VoteCandidate voteCandidate) {
		super.save(voteCandidate);
	}
	
	@Transactional(readOnly = false)
	public void delete(VoteCandidate voteCandidate) {
		super.delete(voteCandidate);
	}
	
}